h.exe : heapsort.obj
	link heapsort.obj /OUT:h.exe

heapsort.obj : heapsort.cpp heapsort.h
	cl  heapsort.cpp /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fd"Debug\vc80.pdb" /W3 /nologo /c /Wp64 /ZI /TP /errorReport:prompt

clean : 
	del -f *.obj *.exe
